-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: WIP rbac #20864
base: master
Are you sure you want to change the base?
feat: WIP rbac #20864
Conversation
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
Size Change: +285 B (0%) Total Size: 1.05 MB ℹ️ View Unchanged
|
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated2 snapshot changes in total. 0 added, 2 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
# Conflicts: # frontend/src/scenes/dashboard/DashboardCollaborators.tsx # frontend/src/scenes/feature-flags/FeatureFlagPermissions.tsx
# Conflicts: # frontend/__snapshots__/scenes-other-settings--settings-organization--dark.png # frontend/src/scenes/settings/SettingsMap.tsx # posthog/api/dashboards/dashboard.py # posthog/api/dashboards/dashboard_templates.py # posthog/api/insight.py # posthog/api/routing.py # posthog/api/test/__snapshots__/test_action.ambr # posthog/api/test/__snapshots__/test_annotation.ambr # posthog/api/test/__snapshots__/test_feature_flag.ambr # posthog/api/test/dashboards/__snapshots__/test_dashboard.ambr # posthog/api/test/notebooks/__snapshots__/test_notebook.ambr # posthog/session_recordings/test/__snapshots__/test_session_recordings.ambr # posthog/test/test_middleware.py
📸 UI snapshots have been updated1 snapshot changes in total. 0 added, 1 modified, 0 deleted:
Triggered by this commit. |
# Conflicts: # .vscode/launch.json # ee/api/test/test_action.py # ee/api/test/test_team.py # ee/models/rbac/role.py # ee/urls.py # frontend/__snapshots__/scenes-other-settings--settings-organization--dark.png # frontend/__snapshots__/scenes-other-settings--settings-organization--light.png # frontend/src/layout/navigation-3000/sidepanel/sidePanelLogic.tsx # frontend/src/models/dashboardsModel.tsx # frontend/src/scenes/notebooks/Notebook/migrations/migrate.test.ts # frontend/src/scenes/settings/SettingsMap.tsx # frontend/src/scenes/settings/organization/inviteLogic.ts # frontend/src/scenes/teamActivityDescriber.tsx # frontend/src/types.ts # mypy-baseline.txt # posthog/api/personal_api_key.py # posthog/api/routing.py # posthog/api/search.py # posthog/api/team.py # posthog/api/test/__snapshots__/test_action.ambr # posthog/api/test/__snapshots__/test_annotation.ambr # posthog/api/test/__snapshots__/test_api_docs.ambr # posthog/api/test/__snapshots__/test_insight.ambr # posthog/api/test/dashboards/__snapshots__/test_dashboard.ambr # posthog/api/test/dashboards/test_dashboard.py # posthog/api/test/notebooks/__snapshots__/test_notebook.ambr # posthog/api/test/test_action.py # posthog/api/test/test_event.py # posthog/api/test/test_organization_feature_flag.py # posthog/api/test/test_person.py # posthog/api/test/test_plugin.py # posthog/api/test/test_survey.py # posthog/middleware.py # posthog/permissions.py # posthog/session_recordings/test/__snapshots__/test_session_recordings.ambr
📸 UI snapshots have been updated19 snapshot changes in total. 0 added, 19 modified, 0 deleted:
Triggered by this commit. |
📸 UI snapshots have been updated12 snapshot changes in total. 0 added, 12 modified, 0 deleted:
Triggered by this commit. |
Problem
Very WIP - testing out ideas and feasability
Attempt to implement https://github.com/PostHog/product-internal/pull/577
Changes
AccessControl
concept.Access controls for a project
Access controls for a resource
TODO
Follow up / out of scope
#21222
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
How did you test this code?